#include<iostream>
using namespace std;
int main()
{
	int x, y;
	char c;
	cin >> x >> y >> c;
	/*if (c == '+')
	{
		cout << x + y;
	}
	else if (c == '-')
	{
		cout << x - y;
	}
	else if (c == '*')
	{
		cout << x * y;
	}
	else if (c == '/')
	{
		if (y == 0)
		{
			cout << "Divided by zero!";
		}
		else
		{
			cout << x / y;
		}
	}
	else
	{
		cout << "Invalid operator!";
	}*/
	switch (c)
	{
	case '+':
		cout << x + y;
		break;
	case '-':
		cout << x - y;
		break;
	case '*':
		cout << x * y;
		break;
	case '/':
		if (y == 0)
		{
			cout << "Divided by zero!";
		}
		else
		{
			cout << x / y;
		}
		break;
	default:
		cout << "Invalid operator!";
		break;
	}
	return 0;
}